﻿using System;
using System.Runtime.Serialization;
using NCMIS.ObjectModel.MetaData;

namespace NCMIS.ObjectModel
{
    /// <summary>
    /// Utility class. Used for serialization of arrays of the PathedCmisObject class.
    /// </summary>
    [DataContract(Namespace = CmisNs.Cmism)]
    public class PathedCmisObjectContainer
    {
        [DataMember(Name = "objectInFolder")]
        public PathedCmisObject ObjectInFolder
        {
            get;
            set;
        }

        [DataMember(Name = "children")]
        public PathedCmisObjectContainer[] Children
        {
            get;
            set;
        }
    }
}
